package com.zj.healthmanage.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zj.healthmanage.pojo.Meallibrary;
import com.zj.healthmanage.mapper.MeallibraryMapper;
import com.zj.healthmanage.service.MeallibraryService;
@Service
public class MeallibraryServiceImpl implements MeallibraryService{

    @Resource
    private MeallibraryMapper meallibraryMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return meallibraryMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Meallibrary record) {
        return meallibraryMapper.insert(record);
    }

    @Override
    public int insertSelective(Meallibrary record) {
        return meallibraryMapper.insertSelective(record);
    }

    @Override
    public Meallibrary selectByPrimaryKey(Integer id) {
        return meallibraryMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Meallibrary record) {
        return meallibraryMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Meallibrary record) {
        return meallibraryMapper.updateByPrimaryKey(record);
    }

}
